Jump To:
Technical Q&As
Java support in Mac OS X is built around the foundation of the Java 2, Standard Edition implementation, which is installed with every copy of Mac OS X and Mac OS X Server. Mac OS X Server provides additional resources through JBoss and WebObjects. Java developers can easily distribute their cross-platform J2SE applications as native Mac OS X applications, or they can take advantage of Mac OS X-specific Java versions of some Cocoa APIs.

Java Resources
A guided introduction and learning path for developers new to Java in Mac OS X.   Essential information for developers using the Mac OS X built-in Java support.   Java programming specifications, organized by package and class.
Document Descriptions
On Off
Display

Sorted by
Title
Sort by
Topic
Sort by
Date
'aete' in Java (HTML) ()
Deprecated - JAVA08: Programatically specifying the aete for AppleScriptable Mac OS Classic applications.
Porting 1999-05-17
AppleScript for Java (HTML) ()
Deprecated - JAVA07: Naming objects for calling Java from AppleScript on Mac OS Classic.
Porting 1999-05-17
Checking for the presence of a native library from Java (HTML)
Deprecated - JAVA19: Checking for the presence of a JNI library from Mac OS Classic Java.
Porting 1999-11-29
Creating JNI Libraries with Project Builder (HTML) ()
Deprecated - JAVA28: Building JNI libraries for use in 1.3.1 on Mac OS X 10.1.
Tools 2001-06-19
Creating Mac OS X applications from Java JAR files (HTML) ()
Deprecated - JAVA29: Creating Mac OS X applications from Jar files on Mac OS X 10.0.
Tools 2000-12-27
Creating serialVersionUIDs using MRJ (HTML) ()
Deprecated - JAVA13: Creating serialVersionUIDs using MRJ on Mac OS Classic Java.
Porting 1999-05-17
Customizing Component Border Colors (HTML) ()
QA1272: Retaining Aqua background for JComboBox menus with custom control borders.
Design Guidelines, User Experience 2003-07-31
Customizing Font Properties (HTML) ()
Deprecated - JAVA10: Customizing Font Properties in Mac OS Classic Java.
Porting 1999-05-17
Debugging Graphics with QuartzDebug (HTML) ()
QA1236: Explains how to use QuartzDebug to debug graphics issues.
Graphics & Imaging 2003-02-25
Defining user properties with MRJAppBuilder (HTML)
Deprecated - JAVA24: How to define user properties using MRJAppBuilder in Mac OS Classic Java.
Porting 2000-04-17
Determining MRJ's Version (HTML) ()
Deprecated - JAVA17: Determining the version of MRJ currently in use for Mac OS Classic Java.
Porting 1999-09-27
Developer Tools JBoss and Tomcat Do Not Start After Installing Java 1.4.2 Update (HTML)
QA1025: Describes how to re-enable JBoss and Tomcat after installing the Java 1.4.2 update.
Internet & Web, Mac OS X Server, Tools 2004-03-04
Displaying Java compiler errors in Japanese (HTML) ()
Deprecated - QA1092: Explains and resolves garbled Project Builder compiler errors under Mac OS X 10.1 for Japanese systems.
Tools 2001-11-08
Enabling Macintosh-style Menu Bars (HTML) ()
QA1003: Enabling Macintosh-style Menu Bars in JDK 1.3.1 on Mac OS X.
Porting 2001-02-02
Exception in JFileChooser.setAcceptAllFileFilterUsed (HTML)
Deprecated - QA1280: Workaround for a known issue in Java 1.4.1 Update 1 on Jaguar.
User Experience 2003-10-07
Getting a Packet Trace (HTML) ()
QA1176: Lists tools available for looking at the network packets on the wire.
Internet & Web 2004-07-13
Hang launching signed Applets from JavaScript (HTML)
QA1395: Making a LiveConnect call to a signed Applet before that Applet has finished loading can cause a hang.
Internet & Web 2004-12-02
Hiding public methods from AppleScript in Java (HTML) ()
Deprecated - JAVA09: Hiding public Java methods from AppleScript on Mac OS Classic.
Porting 1999-05-17
How to Disable the JIT (HTML) ()
Deprecated - JAVA05: Disabling the JIT on Mac OS Classic.
Porting 1998-02-22
Illustrating document window changes in Swing (HTML) ()
QA1146: Using the Aqua close button dot in Swing applications to indicate document changes.
User Experience 2002-06-18
Important Java Directories on Mac OS X (HTML) ()
QA1170: Mac OS X equivalents of common Java runtime and development directories.
Design Guidelines, Porting 2003-10-21
Inputting characters using InputMethod (HTML) ()
Deprecated - JAVA18: Inputting characters using InputMethod on Mac OS Classic Java.
Porting 1999-10-18
The installer turns my application into a folder. (HTML)
Deprecated - QA1023: Workaround for applications built with MRJApp Builder that become folders on Mac OS X 10.0.
Tools 2001-04-12
Java File Paths are not Unix File Paths (HTML) ()
Deprecated - JAVA11: Describes why Java File Paths are not Unix File paths on Mac OS Classic Java.
Porting 2000-03-20
JBound App Results in -35 OSErr (HTML) ()
Deprecated - JAVA03: Resolving error -35 on Mac OS Classic JBound applications.
Tools 1998-02-22
Mixing AWT/Swing and Cocoa Java (HTML)
QA1342: Recommends an alternative to mixing Cocoa Java and AWT/Swing.
Design Guidelines, Performance, Porting 2004-02-26
Moving Files in Java (HTML)
Deprecated - JAVA21: Moving files in Mac OS Classic Java.
Porting 2000-02-02
Playing a sound using QTJ (HTML)
Deprecated - QTJ01: Explains how to play sounds in Java using QuickTime for Java.
QuickTime 1999-10-25
Prompting the user with MRJQuitHandler (HTML) ()
QA1187: How to intercept Cmd-Q for all Java 1.3 releases on Mac OS X.
Design Guidelines, User Experience 2002-08-15
Properties versus methods in automatically generated 'aete' resources (HTML) ()
Deprecated - JAVA14: Explains describing properties versus methods in generated 'aete' resources on Mac OS Classic Java.
Porting 1999-05-17
Rendering Multi-line text in JTree nodes (HTML)
QA1091: Correcting render problems with multi-line JTree node labels in the Aqua look and feel.
User Experience 2001-11-02
Right- and Control-Drags on Mac OS X (HTML)
QA1362: Describes a difference in Drag and Drop on Mac OS X that affects all cross-platform Java applications
Design Guidelines, Porting, User Experience 2004-08-31
Scripting Java-based command-line interface applications (HTML) ()
Deprecated - JAVA16: AppleScripting a Mac OS Classic application for non-gui tools on Mac OS Classic Java.
Porting 1999-05-17
Server Processes and the Dock (HTML) ()
QA1328: Discusses using headless AWT from Java server applications that need to be hidden.
Porting 2004-01-19
Setting the default look-and-feel for Swing applications (HTML) ()
QA1059: Changing the default look-and-feel for Swing applications on Mac OS X.
User Experience 2004-02-10
Setting the preferred CMM programatically? (HTML)
QA1086: Uses the NCMConcatProfileSet structure to specify the CMM to be used to make the CMWorldRef with the NCWConcatColorWorld function.
Graphics & Imaging 2001-10-24
Sharing Browser Cookies With Java Applets (HTML) ()
QA1265: Creating a persistent browser session (cookie) inside Java 1.3 Applets
Internet & Web 2004-10-13
Simulated Click on AWT Button (HTML) ()
Deprecated - JAVA01: Shows how to programmatically simulate a clicked button in MRJ 1.1.x for Mac OS9.
Porting 1998-12-07
Specifying Proxy Settings (HTML)
Deprecated - JAVA25: Specifying proxy settings in JDK 1.1.x for Mac OS Classic.
Porting 2000-04-24
SSL and Applet Caching in MRJ 2.2 (HTML)
Deprecated - JAVA22: SSL and Applet Caching in Mac OS Classic Java.
Porting 2000-02-02
Stack Crawl Not Showing Line Numbers (HTML) ()
Deprecated - JAVA06: Getting stack crawls to show the line numbers on Mac OS Classic.
Porting 1998-02-22
Submenus not Updating With Mac OS Screen MenuBar (HTML) ()
QA1171: Workaround for a menu update problem with the screen menubar in Java 1.3.1
User Experience 2002-07-12
Unsolicited About Boxes (HTML)
QA1363: How to properly override the default about and quit behaviors in Java 1.4 and later
Design Guidelines, Porting, User Experience 2004-08-31
Using .zip and .jar Files With Applets (HTML) ()
Deprecated - JAVA04: Shows how to call an applet bundled in a .jar or .zip file on Mac OS Classic.
Porting 1998-02-22
Using JDK Tools Under MRJ 2.2 (HTML)
Deprecated - JAVA23: Using the JDK tools under Mac OS Classic Java.
Porting 2000-02-02
Using Runtime.exec to open a URL (HTML) ()
Deprecated - JAVA12: Shows how to use Runtime.exec on Mac OS Classic Java to open a URL.
Porting 2001-08-03
Using stdin on the Macintosh (HTML) ()
Deprecated - JAVA02: Shows how to use stdin on MRJ for Mac OS Classic.
Porting 1998-12-07
Using System.currentTimeMillis( ) (HTML)
Deprecated - JAVA20: Using System.currentTimeMills() on Mac OS Classic Java.
Porting 2000-02-02
Using the MRJ with IE 5 (HTML)
Deprecated - JAVA26: Describes using MRJ with IE 5 and JDK 1.1.x on Mac OS Classic.
User Experience 2000-08-14
Using the QuickTime for Java libraries on OS X (HTML) ()
QA1058: Where to locate the QTJava.zip file for inclusion in your java/javac classpath.
QuickTime 2002-04-08
What is a 'scsz' resource in Java? (HTML) ()
Deprecated - JAVA15: Describes the what the scsz resource is for Mac OS Classic Java.
Porting 1999-05-17
What is JAR caching? (HTML)
Deprecated - JAVA27: Describes the jar caching for JDK 1.1.X on Mac OS Classic.
Porting 2000-10-06